package com.design.simplefactory.demo;

/**
 * @Author: xiemiao
 * @CreateTime: 2023-04-19  22:46
 * @Description: TODO
 * @Version: 1.0
 */
public class Client {
    public static void main(String[] args) {
        Product product;

        product = Factory.getProduct("A");
        product.methodSame();
        product.methodDiff();
    }
}
